]> dgit.raspbian.org Git - gnome-shell.git/commit
shell: Use G_DECLARE_*_TYPE macros
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 24 Sep 2015 18:07:44 +0000 (20:07 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Oct 2015 20:58:28 +0000 (22:58 +0200)
commit294702d3f170350534f4505d862c19e0699f8fd2
tree7ed264f44d0378dbf011169ef31e83d63249539b
parent58f3b7c7482be6f2d80dc18b19e38afc9048d1f4
shell: Use G_DECLARE_*_TYPE macros

Cut down on boilerplate by using the (no longer that) new helper
macros. We don't care about breaking ABI in private libraries, so
use G_DECLARE_FINAL_TYPE even where the class struct used to be
exposed in the header, except for types we inherit from ourselves
(obviously) or where the class exposes any vfuncs (where changes
could affect inheritance in extensions).
33 files changed:
src/shell-app-system.c
src/shell-app-system.h
src/shell-app-usage.h
src/shell-app.h
src/shell-embedded-window.c
src/shell-embedded-window.h
src/shell-generic-container.c
src/shell-generic-container.h
src/shell-global.h
src/shell-glsl-quad.c
src/shell-glsl-quad.h
src/shell-gtk-embed.c
src/shell-gtk-embed.h
src/shell-keyring-prompt.c
src/shell-keyring-prompt.h
src/shell-mount-operation.c
src/shell-mount-operation.h
src/shell-perf-log.c
src/shell-perf-log.h
src/shell-recorder.c
src/shell-recorder.h
src/shell-screenshot.c
src/shell-screenshot.h
src/shell-secure-text-buffer.c
src/shell-secure-text-buffer.h
src/shell-stack.c
src/shell-stack.h
src/shell-tray-icon.c
src/shell-tray-icon.h
src/shell-tray-manager.c
src/shell-tray-manager.h
src/shell-window-tracker.h
src/shell-wm.h